package com.example.usercenter.sys.dao;

import com.example.usercenter.common.base.BaseDao;
import com.example.usercenter.sys.entity.Role;

import java.util.List;
import java.util.Map;

public interface RoleDao extends BaseDao<Role, Long> {

    public List<Role> queryByPage(Map<String, Object> params);

    public int insertRoleAuthority(Role entity);

    public int deleteRoleAuthority(long id);
}